/*
 * All rights Reserved, Designed By DataDriver
 * Copyright:    DataDriver.Inc
 * Company:      Zhuo Wo Infomation Technology (ShangHai) CO.LTD
 */
package com.sun.service;

import feign.hystrix.FallbackFactory;
import org.springframework.stereotype.Component;

@Component
public class HelloServiceImpl implements FallbackFactory {

    @Override
    public Object create(Throwable throwable) {
        return new String("进行服务降级处理....." + throwable.getMessage());

    }
}
